<!doctype html>
<html>
<head><title>Flash Example</title></head>
<body>
    {% with messages = get_flashed_messages() %}
        {% if messages %}
            <ul>
            {% for message in messages %}
                <li>{{ message }}</li>
            {% endfor %}
            </ul>
        {% else %}
            <p>No flash messages available at the moment.</p>
        {% endif %}
    {% endwith %}
</body>
</html>